package com.xxx.car.service;

import com.xxx.car.entity.vo.request.ReqRedpackageDetail;
import com.xxx.car.entity.vo.request.ReqRedpackageWithdraw;
import com.xxx.car.entity.vo.response.RespRedPackageDetail;
import com.xxx.car.entity.vo.response.RespUserWallet;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by xuwenjie on 2017/6/16.
 */
public interface UserWalletService {
    RespUserWallet getByUser(Integer userId);

    void changeAmt(Integer userId, long chargeAmt, BigDecimal redPackageAmt, long giveAmt, long bonusPoints);

    void redpackageWithdraw(ReqRedpackageWithdraw reqRedpackageWithdraw);

    List<RespRedPackageDetail> listRedPackageDetail(ReqRedpackageDetail reqRedpackageDetail);
}
